export default defineNuxtRouteMiddleware((to, from) => {
    console.log('middleware run')
    console.log(from.path)
    console.log(to.path)
})